﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace pandx.Mulan.Flows
{
    [Table("FlowTransitionHistories")]
    public class FlowTransitionHistory:Entity<long>,ICreationAudited,IMayHaveTenant
    {
        public DateTime CreationTime { get; set; }
        public long? CreatorUserId { get; set; }
        public int? TenantId { get; set; }

        public long InstanceId { get; set; }
        public string FromNodeId { get; set; }
        public string FromNodeName { get; set; }
        public string FromNodeType { get; set; }
        public string ToNodeId { get; set; }
        public string ToNodeName { get; set; }
        public string ToNodeType { get; set; }
        public FlowInstanceState State { get; set; }
    }
}
